home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / doom / quake.zip / QVOTE22.ZIP / QVOTE2.TXT < prev    next >
Text File  |  1996-08-05  |  7KB  |  133 lines

  1. Quake Voting Booth v2.2 - Allows players to vote on game settings such
  2.  as noexit and teamplay.
  3.  
  4. When a Quakematch is being played over ethernet by a group of friends or
  5. coworkers on an office or school network, agreeing on settings generally
  6. isn't that big of a problem. But when playing over the internet with 15
  7. people you've never met in person, it's often difficult to agree on how
  8. the server should be set up, especially since the server, being dedicated
  9. (your server *is* dedicated *isn't it* ? ) can't have it's settings changed
  10. by players. Enter Qvote. Just install this utility on your server (no, the
  11. players don't have to have it) and the players will be able to decide
  12. democratically how they want the server configured. So far the only topics
  13. on the ballot are noexit and teamplay, but more are on the way (suggestions
  14. welcome).
  15.  
  16. HOW TO USE QVOTE
  17.  
  18.   Server admins - Put this progs.dat in a subdirectory of your Quake
  19.     directory (c:\quake\vote\progs.dat) and start quake with the command
  20.     line option "-game vote" or whatever you called your subdirectory.
  21.     If you need to recompile the progs.dat from source, see below.
  22.  
  23.   Players - From the console, type "voteexit" to vote for noexit = 0, or
  24.     "votenoexit" for noexit = 1. "voteteams" votes for teamplay 1,
  25.     "votenoteams" for teamplay 0. "votestats" shows the current voting
  26.     status. Type "impulse 15" for a list of available commands (automatically
  27.     displayed when you die, and are sitting there with a skewed view angle
  28.     waiting to respawn.
  29.  
  30. SERVER DEFAULTS
  31.  
  32.  New in Qvote2.2 is the ability for server admins to specify default values
  33. for noexit and teamplay. These default values control how users automatically
  34. vote when they join, and how tie votes are resolved. To change these defaults,
  35. you will have to modify the constants "noexitdefault" and "teamplaydefault"
  36. in vote.qc and then recompile the .qc files with Qcc. You can download and
  37. read instructions for use of Qcc at http://www.stomped.com.
  38.  
  39. TEAMPLAY CVAR vs ACTUAL TEAMPLAY
  40.  
  41.  Keep in mind, the teamplay which you are voting on with Qvote does not
  42. actually enforce teamplay, it just turns on the teamplay cvar, which really
  43. only turns friendly fire on/off. If you have teamplay on, but everyone is a
  44. different color, not much is going to happen, except that people who happen
  45. to have the same color pants cannot damage each other. And even if you have
  46. gotten everyone to switch to team colors, you don't necessarily need to have
  47. the teamplay cvar on; personally, I like playing team games with teamplay set
  48. to 0 : it adds an extra element of strategy to the game, in that you can't
  49. just shoot first and ask questions later.
  50.  
  51. CHANGES SINCE 2.0
  52.  
  53.  Finally figured out how to display a message to users, and stuff the command
  54. aliases to them, as soon as they connect to a server running Qvote.
  55.  
  56.  Added server-determined defaults for the voting topics.
  57.  
  58. BUGS/CAVEATS
  59.  
  60.  My other QuakeC patch, Blood!, which makes Quake slightly bloodier (although
  61. realistically so, unlike the "violence" and "gore" patches, which are funny,
  62. but get old quick and take away from the suspension of disbelief) is included
  63. in this patch ( I didn't feel like editing it out of weapons.qc, if you want
  64. to, go ahead. )
  65.  If id ever does release a version of Quake which allows more than 16 players,
  66. this won't work (without recoding almost from scratch [which I will do if
  67. alot of people are using it]).
  68.  The count will get screwed if there are two people with the same netname, as
  69. it will remove both of them when one exits ( it was either that, or remove a
  70. random one of them). So don't call yourself "player" (dumbass).
  71.  Teamplay can only be voted to 1 or 0, so it won't work with enhanced teamplay
  72. patches which are activated by "teamplay x". Working on this.
  73.  
  74. NOTE TO SERVER OPS
  75.  
  76.  If you're running a dedicated, up-most-of-the-time quakeserver and are
  77. using this patch on it, let me know; if I don't get any feedback I'll assume
  78. nobody's using it and quit working on it.
  79.  
  80. NOTE TO QUAKEC CODERS
  81.  
  82.  I included the code to this so that you can modify it or merge it with
  83. other patches you want your server to run, but *please* don't look too
  84. closely at my code, it's really embarrassingly poorly done. This is partially
  85. due to having to code around the limitations of the language, but I probably
  86. could have done better even considering.
  87.  
  88. NOTE TO JOHN CARMACK (if you're reading this)
  89.  
  90.  First off, Quake kicks ass, and will forever rule the cosmos (forever
  91. defined as "until Quake 2"). However, in all honesty, I was a little
  92. disappointed with QuakeC. I was expecting something which would allow us to
  93. basically change everything about the game except for the graphics engine
  94. itself, and would be as full and robust as a genuine programming language,
  95. which, I realize, it isn't; but come on, not even arrays??? I haven't used
  96. so many simple variables since learning BASIC on Apple II's in elementary
  97. school. If you're looking for examples of why a more extensible language
  98. would benefit the Quake hacking community, take a look through my code;
  99. whenever you find yourself laughing out loud, that's a sure sign something
  100. needs to be changed. A sendbytetoclient(), getbytefromclient() and disk I/O
  101. would also be extremely useful, and allow us to do some of the stuff we were
  102. hoping for originally, like custom player textures, which would be really
  103. cool for people with T1+'s ( like me in a year or so when I get to college.)
  104.  In case this commentary has seemed harsher or more critical than I intended
  105. it, I think now would be a good time to add that you are my personal Lord
  106. and Savior.
  107.  
  108. THINGS TO LOOK FOR IN VERSION 3
  109.  
  110.  More voting topics, such as : gravity, go to a specific map (not sure if
  111. this will be possible), kicking players who are being annoying (same here).
  112. Suggestions welcome.
  113.  
  114.  I recently saw (but haven't tried) a patch which forces teamplay, killing
  115. people who aren't obeying team rules. Sounds pretty cool; with the author's
  116. permission, I might include his code, enableable/disableable by user voting.
  117.  
  118. LEGAL CRAP
  119.  
  120.  This patch may be freely distributed as long as no charge is made for it,
  121. (including CDROM or other for-profit compilation distributions) or for use of
  122. a server on which it is being run (which I don't think is legal anyway). I'd
  123. really rather you didn't use this as a base for your own patch, but I really
  124. can't stop you without going through even more legal BS, so go ahead if you
  125. feel the need. This is freeware, so no registration fee is required for it's
  126. use, but if you'd like to make a donation to a poor boy with a 486/66 8mb 14.4
  127. machine, email me, I will be forever in your debt (I will also have more time
  128. and motivation to make more cool patches for you.)
  129.  
  130. Kevin Bowen
  131. Lunatik
  132. flame@pacbell.net
  133.